<!doctype html>
<html class="no-js">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="description" content="">
	<meta name="keywords" content="">
	<!-- <meta name="viewport" content="width=device-width, initial-scale=0">
	<meta name="viewport" content="width=drvice-width,height=device-height,inital-scale=1.0,maximum-scale=1.0,user-scalable=no;"> -->
	<meta name="viewport" content="width=device-width,user-scalable=no, initial-scale=1">
	<title>手机微信版一元夺宝商城网</title>
	<link rel="icon" type="image/png" href="../qgj_qt/images/favicon.png">
	<link rel="stylesheet" href="./css/amazeui.min.css">
	<link rel="stylesheet" href="./css/swiper.min.css">
	<link rel="stylesheet" href="./css/app.css">
	<!-- jquery -->
	<script src="./js/name/jquery.min.js"></script>
	<script src="./js/name/swiper.min.js"></script>
<!-- 生日 -->
<script type="text/javascript" src="./js/name/mobileSelect.js"></script>
<script type="text/javascript" src="./js/name/selectDate.js"></script>
</head>

<body>

<!-- 外框 -->
<div id="waik">
<!-- 头部 -->
<div id="top" style="background:#D91D37;" class="ziye_top">
    <div class="sos_t sos_t_zy ">
        <div class="fanh_shang fanh_yems">
            <a href="javascript:;" onclick="history.back();"><img src="./images/jiant1.png"></a>
        </div>
        <div class="text">个人信息</div>
        <div class="right">
            <div class="zd"><a href="#">&nbsp;</a></div>
        </div>
    </div>
</div>
<!-- 内容 -->
<br>
<br>
<div class="list_index_my" style=" margin-top:1px;">
    <div class="my_dind">
        <div class="bt">
            <a href="#">
                <h3>头像</h3>
                <div class="right">
                    <span class="toux"><img src="./images./{{$userphoto}}"></span>
                    <img src="./images/right_jiant.png">
                </div>
            </a>
        </div>
    </div>
    <div class="my_dind">
        <div class="bt">
            <a href="my_sz_zh.html">
                <h3>用户名</h3>
                <div class="right">
                    <span>{{$username}}</span>
                    <img src="./images/right_jiant.png">
                </div>
            </a>
        </div>
    </div>
    <div class="my_dind">
        <div class="bt">
            <a href="#">
                <h3>昵称昵称</h3>
                <div class="right">
                    <span>南阳花匠广告</span>
                    <img src="./images/right_jiant.png">
                </div>
            </a>
        </div>
    </div>
</div>
<div class="list_index_my">
    <div class="my_dind">
        <div class="bt">
            <a href="#">
                <h3>性别</h3>
                <div class="right">
                    <span></span>
                    <img src="./images/right_jiant.png">
                </div>
            </a>
        </div>
    </div>
    <div class="my_dind">
        <div class="bt">
            <a href="#">
                <h3>出生日期</h3>
                <div class="right">
                    <span id="select_1" class="select_1">1949年10月23日</span>
                    <img src="./images/right_jiant.png">
                </div>
            </a>
        </div>
    </div>
</div>
<div class="list_index_my">
    <div class="my_dind">
        <div class="bt">
            <a href="#">
                <h3>所在地</h3>
                <div class="right">
                    <span>贵阳</span>
                    <img src="./images/right_jiant.png">
                </div>
            </a>
        </div>
    </div>
    <div class="my_dind">
        <div class="bt">
            <a href="#">
                <h3>家乡</h3>
                <div class="right">
                    <span>黔东南</span>
                    <img src="./images/right_jiant.png">
                </div>
            </a>
        </div>
    </div>
</div>
<center>
<div>
    <form action="sign_out" method="post">
        @csrf
        <button class="denglu"  id="submit" style="background:#FFFFFF;width:4rem;border: none;">退出登录</button>
    </form>
</div>
</center>
<!-- 外框结束div -->
</div>

<!-- js妹子ui -->
<script src="./js/name/amazeui.min.js"></script>
</body>
</html>

    <script src="layui/layui.js"></script>
    <script src="./static/js/jquery.js"></script>
<script>
    $(function(){
        $('#submit').click(function () {
            $.get({
                url:"sign_out",
                data:'username='+$('#username').val()+'&password='+$('#password').val(),
                success:function (data) {
                    layui.use('layer', function(){
                        var layer = layui.layer;
                        if(data.code=='1') {
                            layer.open({
                                title: '退出成功'
                                , skin: 'msg'
                                , content: data.name
                                , yes: function () {
                                    location.href = data.url;
                                }
                            });
                        }
                    });
                }
            });
            return false;
        })
        });
</script>
